﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AdminCP/AdminTemplate.Master" AutoEventWireup="true"
    CodeBehind="ConfigurationWebsite.aspx.cs" Inherits="RealtorsPortal.AdminCP.ConfigurationWebsite" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>Website Configuration</title>
    <script language="javascript" type="text/javascript">
        $(document).ready(function () {
            //set option
            $("#navheadSettings").addClass("selected");
            $("#mnuSettings").css("display", "block");
            $(".submenu li a[title='Configure website']").css({ "color": "#fff", "background": "#222", "border": "1px solid #333" });

        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1>
        WEBSITE CONFIGURATION</h1>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Duration is required"
            ControlToValidate="txtDuration" Font-Bold="True" ForeColor="Red"></asp:RequiredFieldValidator> <br />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Display is required"
            ControlToValidate="txtDisplay" Font-Bold="True" ForeColor="Red"></asp:RequiredFieldValidator><br />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Currency is required"
            ControlToValidate="txtCurrency" Font-Bold="True" ForeColor="Red"></asp:RequiredFieldValidator>
    <fieldset>
        <div class="input_field">
            <label>
                Exp duration:
            </label>
            <asp:TextBox ID="txtDuration" runat="server"></asp:TextBox>
            <span class="field_desc">(days) Automatic expiration of advertisements </span><span
                class="field_error"></span>
        </div>
        <div class="input_field">
            <label>
                Display:
            </label>
            <asp:TextBox ID="txtDisplay" runat="server"></asp:TextBox>
            <span class="field_desc">number of ads/images to be displayed per page.</span>
        </div>
        <div class="input_field">
            <label>
                Currency:
            </label>
            <asp:TextBox ID="txtCurrency" runat="server"></asp:TextBox>
            <span class="field_desc">Currency symbol to use</span>
        </div>
        <div class="input_field no_margin_bottom">
            <label>
                &nbsp;
            </label>
            <asp:Button ID="btnSave" runat="server" Text="Save" class="submit" OnClick="btnSave_Click" />
            <input class="submit" type="reset" value="Reset" />
        </div>
    </fieldset>
</asp:Content>
